package cs1;

public class Test {

	public static void main(String[] args) {
		int i=0;
		int num=0;
		do{
			if(i%3==0)
				num++;
		}while(i<=100&&num==5);
		System.out.println(i);
		
	}
 
}
